﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Xml.Linq;
using System.Collections.Generic;


namespace TripLOA.GUI.secure
{
    public partial class TripRequests : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string tripId = (string)Session["tripId"];
            List<Security.Profile> users = null;
            if (tripId != null)
               users = Groupware.TripManager.GetReservatedUsers(Convert.ToInt32(tripId));

            if (!IsPostBack)
                {
                    usersRequest.DataSource = users;
                    usersRequest.DataBind();
                }
           
        }
    }
}
